package com.fourth.service;

import com.ljx.entity.Appeal;
import com.ljx.vo.Result;

import java.util.List;


/**
 * @author C-Q
 * @version 1.1.0
 * @Description: TODO
 * @date 2023/2/27
 */
public interface AppealService {
    /**
     * 申诉处理表联表查询
     * @param currentPage
     * @param pageSize
     * @return
     */
    Result appealSelectAll(Integer currentPage, Integer pageSize, Appeal appeal);


    /**
     * 通过ID将当前表状态 status = 1
     * @param
     * @return
     */
    Result passAppeal(Integer id , Integer status);

    /**
     * 商家申诉信息添加
     * @param currentPage
     * @param pageSize
     * @param appeal
     * @return
     */
    Result addAppealAll(Integer currentPage, Integer pageSize, Appeal appeal);

    /**
     * 根据ID改变申诉表中商家申诉状态
     * @param id
     * @param status
     * @return
     */
    Result appealStatusId(Integer id , Integer status,String busid);
}
